package com.zbf.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/6/23  11:32
 * 描述:
 */
@ConfigurationProperties(prefix = "com.lcg.test")
@Data
@RefreshScope
@Component
public class UserInfo {

   private String username;

   private String password;

}
